package com.xbongbong.admin.domain.entity;


import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 工单模板镜像
 * @auther: xingxing.xiao
 * @date: 3/3/2020 21:30
 */
@Setter
@Getter
@ToString
public class MirrorWorkOrderTemplateEntity  extends Entity {
    private static final long serialVersionUID = -781984441278528468L;

    /**
     * 主键id
     */
    private Long id;
    /**
     * 镜像id
     */
    private Long mirrorId;
    /**
     * 来源工单模板id
     */
    private Long sourceTemplateId;
    /**
     * 应用id
     */
    private Long appId;
    /**
     * 关联模板分类id
     */
    private Long categoryId;
    /**
     * 模板名称
     */
    private String name;
    /**
     * 模板简介
     */
    private String introduction;
    /**
     * 是否为自由指派 1是，0不是
     */
    private Integer isFree;
    /**
     * 抄送人
     */
    private String cc;
    /**
     * 是否开启 1开启，0关闭
     */
    private Integer enable;
    /**
     * 是否为默认，1为默认分类，0不是默认分类
     */
    private Integer isDefault;
    /**
     * 模板分配权限规则（部门，人员）
     */
    private String scopeRule;
    /**
     * 创建人ID
     */
    private String creatorId;
    /**
     * 添加时间
     */
    private Long addTime;
    /**
     * 更新时间
     */
    private Long updateTime;
    /**
     * 删除标记
     */
    private Integer del;
    /**
     * 预计耗时
     */
    private Integer expectedTime;

    public MirrorWorkOrderTemplateEntity() {
    }

    public MirrorWorkOrderTemplateEntity(Long mirrorId, Long sourceTemplateId, Long appId, Long categoryId, String name, String introduction, Integer isFree, String cc, Integer enable, Integer isDefault, String scopeRule, String creatorId, Long addTime, Long updateTime, Integer del, Integer expectedTime) {
        this.mirrorId = mirrorId;
        this.sourceTemplateId = sourceTemplateId;
        this.appId = appId;
        this.categoryId = categoryId;
        this.name = name;
        this.introduction = introduction;
        this.isFree = isFree;
        this.cc = cc;
        this.enable = enable;
        this.isDefault = isDefault;
        this.scopeRule = scopeRule;
        this.creatorId = creatorId;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.del = del;
        this.expectedTime = expectedTime;
    }

}
